﻿using System;
using System.Threading;
using ThreeByte.ActiveDeck.Publish.Model;

//Based Heavily on http://laharsub.codeplex.com

namespace ThreeByte.ActiveDeck.Publish.Model
{
    public class Subscription
    {
        public string Channel { get; set; }
        public int From { get; set; }
        public Action<Subscription, Exception> OnError { get; set; }
        public Action<Subscription, ActiveMessage> OnMessageReceived { get; set; }
    }
}
